import request from '@/utils/request'

// 查询报告模版配置列表
export function listMarketReportTemplateKeyword(query) {
  return request({
    url: '/keyword/marketReportTemplateKeyword/list',
    method: 'get',
    params: query
  })
}

// 查询报告模版配置详细
export function getMarketReportTemplateKeyword(id) {
  return request({
    url: '/keyword/marketReportTemplateKeyword/' + id,
    method: 'get'
  })
}

// 保存报告模版配置
export function saveMarketReportTemplateKeyword(data) {
  return request({
    url: '/keyword/marketReportTemplateKeyword/save',
    method: 'post',
    data: data
  })
}

// 删除报告模版配置
export function delMarketReportTemplateKeyword(id) {
  return request({
    url: '/keyword/marketReportTemplateKeyword/' + id,
    method: 'delete'
  })
}

// 导出报告模版配置
export function exportMarketReportTemplateKeyword(query) {
  return request({
    url: '/keyword/marketReportTemplateKeyword/export',
    method: 'get',
    params: query
  })
}
